package notifiers;
import models.User;
import play.mvc.*;

public class Notifications extends Mailer {
	public static void welcome(User user)
	{
		setFrom("evote.guc@gmail.com");
		setSubject("Welcome To E-vote");
		addRecipient(user.email);
		send(user);
	}
	public static void activate(String UR, User user){
		setFrom("evote.guc@gmail.com");
		setSubject("Activate your E-vote account");
		addRecipient(user.email);
		send(UR,user);
		
	}

}
